package com.aizu.common;

import org.springframework.stereotype.Component;

@Component
public class Constant {

	/** 房主请求前缀 */
	public final static String PATH_MASTER = "/master/";

	/** 房主2请求前缀 */
	public final static String PATH_MAIN = "/main/";

	/** 房客请求前缀 */
	public final static String PATH_RENTER = "/renter/";

	/** 微信用户id */
	public final static String FROMUSERNAME = "fromUserName";

	/** 验证码key */
	public final static String RANDOM_CODE = "code";
	/** 验证码生成时间key */
	public final static String RANDOM_CODE_TIME = "codeTime";

	/** 所有地市区县 */
	public final static String All_AREA_LIST = "areaList";
	/** 所有地市区县Map */
	public final static String All_AREA_LIST_MAP = "areaMap";
	/** 所有地市区县Json */
	public final static String All_AREA_LIST_JSON = "areaListJson";

	/** 地市区县 */
	public final static String CITY_LIST = "cityList";
	/** 地市区县Map */
	public final static String CITY_LIST_MAP = "cityMap";
	/** 地市区县Json */
	public final static String CITY_LIST_JSON = "cityListJson";

	/** 地市区县 */
	public final static String AREA_LIST = "areaList";
	/** 地市区县Map */
	public final static String AREA_LIST_MAP = "areaMap";
	/** 地市区县Json */
	public final static String AREA_LIST_JSON = "areaListJson";

	/** 街道 */
	public final static String STREET_LIST = "streetList";
	/** 街道区县Map */
	public final static String STREET_MAP = "streetMap";
	/** 街道Json */
	public final static String STREET_LIST_JSON = "streetListJson";

	/** 社区 */
	public final static String DEPARTMENT_LIST = "departmentList";
	/** 社区Map */
	public final static String DEPARTMENT_MAP = "departmentMap";
	/** 社区Json */
	public final static String DEPARTMENT_LIST_JSON = "departmentListJson";

	/** 小区 */
	public final static String COMMUNITY_LIST = "communityList";
	/** 小区Map */
	public final static String COMMUNITY_MAP = "communityMap";
	/** 小区Json */
	public final static String COMMUNITY_LIST_JSON = "communityListJson";

	/** 订单状态：待确认 */
	public final static int ORDER_STATE_CONFIRMING = 1;
	/** 订单状态：待支付 */
	public final static int ORDER_STATE_PAYING = 2;
	/** 订单状态：已支付 */
	public final static int ORDER_STATE_PAID = 3;
	/** 订单状态：已取消 */
	public final static int ORDER_STATE_CANCEL = 4;
	
	/** 床位状态：已租 */
	public final static int BED_STATE_RENTED = 1;
	/** 床位状态：在租/未租 */
	public final static int BED_STATE_NORENT = 0;

	/** 服务费 */
	public final static double SERVICE_FEE = 5.0D;

}
